import { BasicColumn } from '@/components/Table/src/types/table';

export function getBasicColumns(): BasicColumn[] {
  return [
    {
      title: '字典主键',
      dataIndex: 'dictId',
      width: 60,
    },
    {
      title: '字典名称',
      dataIndex: 'dictName',
      width: 100,
    },
    {
      title: '字典类型',
      dataIndex: 'dictType',
      width: 100,
    },
    {
      title: '字典分类',
      dataIndex: 'dictCategoryName',
      width: 80,
    },
    {
      title: '状态',
      dataIndex: 'status',
      width: 60,
      slots: { customRender: 'status' },
    },
    {
      title: '备注',
      dataIndex: 'remark',
      width: 100,
    },
    {
      title: '创建时间',
      dataIndex: 'createTime',
      width: 120,
    },
  ];
}
